<%@ page language="java" contentType="text/html" pageEncoding="utf-8" import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
String user=(String) session.getAttribute("user");
String pass=(String) session.getAttribute("pass");
%>
您的用户名是：<%=user %><br>
您的密码是：<%=pass %>
</body>
</html>